package com.hustmed.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.HashMap;
import java.util.List;

/**
 * 工艺参数对象 process_params
 *
 */
public class ProcessParams extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工艺参数id */
    private String id;

    /** 实验id */
    @Excel(name = "实验id")
    private String experimentId;

    /** 动态数据 */
    @Excel(name = "动态数据")
    private String cjson;

    /** 键值数据 */
    @Excel(name = "键值数据")
    private String vjson;

    /** 状态（0停用 1启用） */
    @Excel(name = "状态", readConverterExp = "0=停用,1=启用")
    private Long status;

    /** 删除标志 */
    private String delFlag;

    private List<Sample> sampleList;

    private String vjsonq;

    private String processParamsNo;

    private HashMap<String, Sample> sampleMap;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setExperimentId(String experimentId) 
    {
        this.experimentId = experimentId;
    }

    public String getExperimentId() 
    {
        return experimentId;
    }
    public void setCjson(String cjson) 
    {
        this.cjson = cjson;
    }

    public String getCjson() 
    {
        return cjson;
    }
    public void setVjson(String vjson) 
    {
        this.vjson = vjson;
    }

    public String getVjson() 
    {
        return vjson;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<Sample> getSampleList() {
        return sampleList;
    }

    public void setSampleList(List<Sample> sampleList) {
        this.sampleList = sampleList;
    }

    public String getVjsonq() {
        return vjsonq;
    }

    public void setVjsonq(String vjsonq) {
        this.vjsonq = vjsonq;
    }

    public HashMap<String, Sample> getSampleMap() {
        return sampleMap;
    }

    public void setSampleMap(HashMap<String, Sample> sampleMap) {
        this.sampleMap = sampleMap;
    }

    public String getProcessParamsNo() {
        return processParamsNo;
    }

    public void setProcessParamsNo(String processParamsNo) {
        this.processParamsNo = processParamsNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("experimentId", getExperimentId())
            .append("cjson", getCjson())
            .append("vjson", getVjson())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
